package adc.app.spec;


/**
 * This interface defines the properties of an Invoicing application user.
 * 
 * @author Alex
 * 
 */
public interface IUser extends IBo {
	/**
	 * Getter for the user's login name.
	 * 
	 * @return the user's login name
	 */
	public abstract String getUsername();

	/**
	 * Setter for the user's login name.
	 * 
	 * @param username
	 *            the user's login name
	 */
	public abstract void setUsername(String username);

	/**
	 * Getter for the hashed password.
	 * 
	 * @return the hashed password
	 */
	public abstract byte[] getPassword();

	/**
	 * Setter for the hashed password.
	 * 
	 * @param password
	 *            the hashed password
	 */
	public abstract void setPassword(byte[] password);

}
